package com.jefe.service.service.base;

import com.jefe.service.service.ImageTblLocalService;
import com.jefe.service.service.ImageTblService;
import com.jefe.service.service.MessageTblLocalService;
import com.jefe.service.service.MessageTblService;
import com.jefe.service.service.persistence.ImageTblPersistence;
import com.jefe.service.service.persistence.MessageTblPersistence;

import com.liferay.portal.SystemException;
import com.liferay.portal.kernel.annotation.BeanReference;
import com.liferay.portal.service.base.PrincipalBean;
import com.liferay.portal.util.PortalUtil;


public abstract class ImageTblServiceBaseImpl extends PrincipalBean
    implements ImageTblService {
    @BeanReference(name = "com.jefe.service.service.MessageTblLocalService.impl")
    protected MessageTblLocalService messageTblLocalService;
    @BeanReference(name = "com.jefe.service.service.MessageTblService.impl")
    protected MessageTblService messageTblService;
    @BeanReference(name = "com.jefe.service.service.persistence.MessageTblPersistence.impl")
    protected MessageTblPersistence messageTblPersistence;
    @BeanReference(name = "com.jefe.service.service.ImageTblLocalService.impl")
    protected ImageTblLocalService imageTblLocalService;
    @BeanReference(name = "com.jefe.service.service.ImageTblService.impl")
    protected ImageTblService imageTblService;
    @BeanReference(name = "com.jefe.service.service.persistence.ImageTblPersistence.impl")
    protected ImageTblPersistence imageTblPersistence;

    public MessageTblLocalService getMessageTblLocalService() {
        return messageTblLocalService;
    }

    public void setMessageTblLocalService(
        MessageTblLocalService messageTblLocalService) {
        this.messageTblLocalService = messageTblLocalService;
    }

    public MessageTblService getMessageTblService() {
        return messageTblService;
    }

    public void setMessageTblService(MessageTblService messageTblService) {
        this.messageTblService = messageTblService;
    }

    public MessageTblPersistence getMessageTblPersistence() {
        return messageTblPersistence;
    }

    public void setMessageTblPersistence(
        MessageTblPersistence messageTblPersistence) {
        this.messageTblPersistence = messageTblPersistence;
    }

    public ImageTblLocalService getImageTblLocalService() {
        return imageTblLocalService;
    }

    public void setImageTblLocalService(
        ImageTblLocalService imageTblLocalService) {
        this.imageTblLocalService = imageTblLocalService;
    }

    public ImageTblService getImageTblService() {
        return imageTblService;
    }

    public void setImageTblService(ImageTblService imageTblService) {
        this.imageTblService = imageTblService;
    }

    public ImageTblPersistence getImageTblPersistence() {
        return imageTblPersistence;
    }

    public void setImageTblPersistence(ImageTblPersistence imageTblPersistence) {
        this.imageTblPersistence = imageTblPersistence;
    }

    protected void runSQL(String sql) throws SystemException {
        try {
            PortalUtil.runSQL(sql);
        } catch (Exception e) {
            throw new SystemException(e);
        }
    }
}
